﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Zhaoxi.Communication.Base;
using Zhaoxi.Configuration.Base;

namespace Zhaoxi.Configuration.Entities
{
    //[XmlType("device")]
    //public class ConfigEntity
    //{
    //    [XmlAttribute("name")]
    //    public string Name { get; set; }
    //    [XmlAttribute("id")]
    //    public string ID { get; set; }
    //}

    public class ConfigEntity
    {
        public string Name { get; set; }
        public string ID { get; set; }
        public string Protocol { get; set; }

        public List<CommParamEntity> CommParams { get; set; }

        public List<VariableEntity> Variables { get; set; }
    }
}
